import { HttpException, HttpStatus } from '@nestjs/common';

export class NestException extends HttpException {
  constructor(error: { message: string; code: number }) {
    super(error, HttpStatus.OK);
  }
}
